/**
 *
 * @author John Creecy
 */
package battlebarnchat;

import java.util.Vector;
import javax.swing.JTextArea;

public class Main {

	public static JTextArea statusMessage = new JTextArea(25, 60);
	public static Vector<String> chatHistory = new Vector<String>();
	public static long lastPacketTime; // millis

	public static void main(String[] args) {
		// Start UI
		BattleBarnChat battleBarnChat = new BattleBarnChat();
		battleBarnChat.run();

		// Start UDP listener
		Runnable runnable = new ChatListener();
		Thread thread = new Thread(runnable);
		thread.start();
	}
}
